From: Lars Magne Ingebrigtsen Date: Thu, 14 Jul 2011 17:05:43 +0000 (+0200) Subject: `image-mode-fit-frame' doc fix X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~2840 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=80e1772da1a5e406640d610bf13d909bcaae7f08;p=emacs.git `image-mode-fit-frame' doc fix * image-mode.el (image-mode-fit-frame): Mention that it's a toggle command --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 86f7a684f26..c05d7281bdc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2011-07-14 Lars Magne Ingebrigtsen + * image-mode.el (image-mode-fit-frame): Mention that it's a toggle + command (bug#7729). + * rect.el (apply-on-rectangle): Return the point after the last operation. (string-rectangle): Go to the point after the last operation diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 7082cfc57ad..f75f4e20219 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el @@ -271,7 +271,7 @@ stopping if the top or bottom edge of the image is reached." ;; Adjust frame and image size. (defun image-mode-fit-frame () - "Fit the frame to the current image. + "Toggle whether to fit the frame to the current image. This function assumes the current frame has only one window." ;; FIXME: This does not take into account decorations like mode-line, ;; minibuffer, header-line, ...